package com.feel.mall.common.service;

import com.feel.mall.common.bean.Comment;
import com.feel.mall.common.exception.FeelException;

import java.util.List;

/**
 * @Author: 刘永钦
 * @Description:
 */
public interface CommentService {
    // 发布评论
    Boolean addInfo(Comment comment);

    // 删除评论
    Boolean dellInfo(Integer commentId, Integer userId) throws FeelException;

    // 获得评论
    List<Comment> getInfo(Comment condition);

    // 更新评论
    Boolean updateInfo(Comment comment, Integer userId) throws FeelException;
}
